package com.diaohw.module.metadata.obj.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.diaohw.platform.framework.db.obj.BaseModel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serial;
/**
 * <p>
 * 数据字典项信息表
 * </p>
 *
 * @author D-Hw
 * @since 2024-09-20
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("DICTIONARY_ITEM")
@Schema(name = "DictionaryItemDO", description = "数据字典项信息表")
public class DictionaryItemDO extends BaseModel<DictionaryItemDO> {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 枚举数据名称
     */
    @Schema(description = "枚举数据名称")
    @TableField("ITEM_NAME")
    private String itemName;

    /**
     * 枚举数据编码
     */
    @Schema(description = "枚举数据编码")
    @TableField("ITEM_CODE")
    private String itemCode;

    /**
     * 枚举数据描述
     */
    @Schema(description = "枚举数据描述")
    @TableField("DESCRIPTION")
    private String description;

    /**
     * 是否显示
     */
    @Schema(description = "是否显示")
    @TableField("DISPLAY")
    private Integer display;

    /**
     * 数据字典ID
     */
    @Schema(description = "数据字典ID")
    @TableField("DICTIONARY_ID")
    private String dictionaryId;
    /**
     * 字典名称
     */
    @Schema(description = "字典名称")
    @TableField("DICTIONARY_NAME")
    private String dictionaryName;

    /**
     * 数据字典Code
     */
    @Schema(description = "数据字典Code")
    @TableField("DICTIONARY_CODE")
    private String dictionaryCode;

    /**
     * 备注
     */
    @Schema(description = "备注")
    @TableField("REMARK")
    private String remark;

}
